package cn.kgc.service;

import cn.kgc.pojo.Dealer;


import java.util.List;

public interface DealerService {

    //查询经销商
    public List<Dealer> queryAllDealer(String dealerName,String dealerCode);

    //修改经销商
    public Integer updateDealer(Dealer dealer);

    //添加经销商
    public Integer addDealer(Dealer dealer);

    //查询指定经销商
    public Dealer queryByIdDealer(String id);

    //经销商无效化
    public Integer deleteDealer(String dealerId);
}
